<template>
  <!-- 我的课程组件 -->
  <div class="course_me">
    <!-- 标签栏 -->
    <div class="title">
      <div class="left">我的课程</div>
      <div class="right">
        听课记录
        <svg class="lianxi_icon" aria-hidden="true">
          <use xlink:href="#icon-lianxi_"></use>
        </svg>
      </div>
    </div>
    <!-- 列表 -->
    <div class="list">
      <!-- 有课程列表 -->
      <div class="have_list"></div>
      <!-- 无课程列表 -->
      <div class="not_list">
        <strong>您当前还没有签约课程</strong>
        <span>签约学生享有课程、题库答疑、笔记学习权益</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.lianxi_icon {
  width: 1.3rem;
  height: 1.3rem;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  margin: 0 0.2rem;
}
.course_me {
  padding: 0.5rem;
  box-sizing: border-box;
  .title {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left {
      color: #2a2929;
      font-size: 1rem;
      font-weight: bold;
    }
    .right {
      color: #656363;
      font-size: 0.8rem;
      font-weight: 800;
      height: 100%;
      display: flex;
      align-items: center;
    }
  }
  .list {
    width: 100%;
    padding: 1rem 0;
    box-sizing: border-box;
    .not_list {
      // border: 1px solid red;
      border-radius: 0.3rem;
      padding: 1.2rem;
      display: flex;
      flex-direction: column;
      box-shadow: 0px 0px 4px 0px #e1e1e1;
      strong {
        font-size: 1.2rem;
        letter-spacing: 0.05rem;
        color: #2a2929;
      }
      span {
        font-size: 0.75rem;
        width: 50%;
        color: #747474;
        line-height: 1.8;
        margin-top: 0.5rem;
      }
    }
  }
}
</style>
